import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import { load } from '@/utils/persistent'

Vue.config.productionTip = false

const $vue = new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')

// 防止刷新: 重新加载cookie到vuex中
load(store, router, $vue)
